export function useLocation() {
  const selfLocation = window.$wujie ? window.$wujie?.location : location
  const parentLocation = window.$wujie ? window.location : 'wujie 不存在'

  return {
    selfLocation,
    parentLocation
  }
}
